//
//  WelfareModel.swift
//  TianTianBiTing
//
//  Created by Gox mac 2 on 2019/2/25.
//  Copyright © 2019 Gox_WallyDiao. All rights reserved.
//

import Foundation
import HandyJSON

struct WelfareListenModel: HandyJSON {
    var imageUrl: String?
    var sumTime: Int = 0
    var timeLength: Int = 0
    var userId: Int = 0
    var wxNickname: String?
}

struct WelfareIncomeModel: HandyJSON {
    var wxAvatarUrl: String?
    var sumBrokerage: Float = 0.0
    var userId: Int = 0
    var wxNickname: String?
}

struct WelfareItemModel: HandyJSON {
    var title: String?
    var describe: String?
    var imageUrl: String?
    var sort: Int = 0
    var type: Int = 0
    var redirectUri: String?
}

struct SignInListModel: HandyJSON {
    var countSignIn: Int = 0
    var createTime: String?
    var createTimeL: Int = 0
    var currentDay: Bool?
    var day: Int = 0
    var signStatus: Int = 0
    var subSignInBo: [SignInListModel]?
    var tingCoin: NSNumber = 0.0
    var userId: Int = 0
    var week: Int = 0
}

struct ShareModel: HandyJSON {
    var id: Int = 0
    var categoryId: Int = 0
    var title: String?
    var describe: String?
    var status: Int = 0
    var totalSeason: Int = 0
    var imageUrl: String?
    var shareImageUrl: String?
    var detailImageUrl: String?
    var playUrl: String?
    var markStatus:Int = 1
    var category: Int = 0
    var listenNum: Int = 0
    var shareStatus: String?
    var shareTotal: String?
    var deadline: String?
    var shareCreateTime: Int = 0
    var survivalTime: Int = 0
    var createtime: Int = 0
    var groupStatus: Int = 0
    var useMockData: Int = 0
    var mockTotalUser: Int = 0
    var sort: Int = 0
    var flag: Int = 0
    var useH5: Int = 0
    var h5Url: String?
    var totalCount: NSNumber?
    var everySeasonBuy: Int = 0
    var groupH5: Bool = false
    var groupH5Url: String?
    var groupH5ImageUrl: String?
}
